package com.code.soulspring.callback;

import org.springframework.stereotype.Component;

/**
 * @author lyf
 * @date 2022-09-26 22:36
 */
@Component("statusCallback")
public class StatusCallback implements Callback {

    @Override
    public Boolean onCheck(String param) {
        if (param != null) {
            return Boolean.TRUE;
        }
        return Boolean.FALSE;
    }
}
